<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <title>飞机</title>
    <link rel="stylesheet" type="text/css" href="../css/aui.css"/>
    <style>
        body{background-color: rgba(0,0,0,.3);}
        .box{
            width: 60%;
            height: 5rem;
            border-radius: .2rem;
            position: absolute;
            top: 50%;
            margin-top: -2.5rem;
            left: 20%;
            opacity: 1;
            box-shadow: 0 0 40px rgba(0,0,0,.08);
            text-align: center;
            color: #212121;
            font-size: .7rem;
            background: #fff;
        }
        .title{height: 1.5rem;line-height: 1.5rem;text-align: center;background: #f0392b;color: #fff;}
        .con{text-align: center;line-height: 2.5rem;margin-top: .5rem;}
        .con img{width: 2rem;height: 2rem;display: inline-block;}
        .plane{color: #ddd;}
        .plane img{height: 1rem;width: 1rem;-webkit-animation:animated_div 2s infinite;animation:animated_div 3s infinite;position: relative;}
        .plane span{display: block;height: 1rem;line-height: 1rem;text-align: left;overflow: hidden;}
        @-webkit-keyframes animated_div
		{
			0%		{-webkit-transform: rotate(0deg);left:0rem;}
			90%		{-webkit-transform: rotate(0deg);left:70%;}
			100%	{-webkit-transform: rotate(-360deg);left:80%;}
		}
		@keyframes animated_div
		{
			0%		{-webkit-transform: rotate(0deg);left:0rem;}
			90%		{-webkit-transform: rotate(0deg);left:70%;}
			100%	{-webkit-transform: rotate(-360deg);left:80%;}
		}
    </style>
</head>
<body>
    <div class="aui-content box">
        <div class="title">正在跳转<span id="to_title">淘宝</span></div>
        <div class="aui-row con">
        	<div class="aui-col-xs-4" style="text-align: right;padding-right: .5rem;"><img src="../image/icon.png" style="border:1px solid #eee;border-radius: .4rem;"></div>
        	<div class="aui-col-xs-4 plane">
        		<span><img src="../image/plane.png"></span>
        		<span class="">------------------</span>
        	</div>
        	<div class="aui-col-xs-4" style="text-align: left;padding-left: .5rem;"><img src="../image/taobao.png" id="to_icon"></div>
        </div>
    </div>
</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript" src="../script/zepto.min.js"></script>
<script type="text/javascript">
    apiready = function(){
        var tjp = api.pageParam.tjp||'t';
        var imgs = {"t":"../image/taobao.png","j":"../image/jd.png","p":"../image/pinduoduo.png"}
        var title = {"t":"淘宝","j":"京东","p":"拼多多"}
        $('#to_icon').attr('src',imgs[tjp]);
        $('#to_title').html(title[tjp])
    };
</script>
</html>